<?php /* @var $this BaseController */ ?>
<div id="export_daily"><a href="<?php echo $this->baseUrl; ?>/default/exportDaily">Export Daily Data</a></div>
<div id="chart_new_user" class="chart"></div>
<div id="chart_a1" class="chart"></div>
<div id="chart_snapshot" class="chart"></div>
<div id="chart_mutual_match" class="chart"></div>
<div id="chart_search" class="chart" style="display: none"></div>
<div id="chart_send_gift" class="chart"></div>
<div id="chart_chat" class="chart"></div>
<div id="chart_invite" class="chart"></div>
<div id="chart_view_profile" class="chart"></div>

<script type="text/javascript">
    PHP_PARAMS.default_index_view = new Object();

    PHP_PARAMS.default_index_view.new_user_categories = <?php echo json_encode(array_keys($new_user)) ?>;
    PHP_PARAMS.default_index_view.new_user_values = <?php echo json_encode(array_values($new_user)) ?>;
    PHP_PARAMS.default_index_view.new_male_values = <?php echo json_encode(array_values($new_male)) ?>;
    PHP_PARAMS.default_index_view.new_female_values = <?php echo json_encode(array_values($new_female)) ?>;
    
    PHP_PARAMS.default_index_view.active_user_categories = <?php echo json_encode(array_keys($a1)) ?>;
    PHP_PARAMS.default_index_view.a1_values = <?php echo json_encode(array_values($a1)) ?>;
    PHP_PARAMS.default_index_view.a7_values = <?php echo json_encode(array_values($a7)) ?>;
    PHP_PARAMS.default_index_view.a30_values = <?php echo json_encode(array_values($a30)) ?>;
    
    PHP_PARAMS.default_index_view.snapshot_categories = <?php echo json_encode(array_keys($snapshot_total)) ?>;
    PHP_PARAMS.default_index_view.snapshot_total_values = <?php echo json_encode(array_values($snapshot_total)) ?>;
    PHP_PARAMS.default_index_view.snapshot_like_values = <?php echo json_encode(array_values($snapshot_like)) ?>;
    PHP_PARAMS.default_index_view.snapshot_dislike_values = <?php echo json_encode(array_values($snapshot_dislike)) ?>;
    
    PHP_PARAMS.default_index_view.mutual_match_categories = <?php echo json_encode(array_keys($mutual_match)) ?>;
    PHP_PARAMS.default_index_view.mutual_match_values = <?php echo json_encode(array_values($mutual_match)) ?>;
    
    PHP_PARAMS.default_index_view.search_categories = <?php echo json_encode(array_keys($search)) ?>;
    PHP_PARAMS.default_index_view.search_values = <?php echo json_encode(array_values($search)) ?>;
    
    PHP_PARAMS.default_index_view.send_gift_categories = <?php echo json_encode(array_keys($send_gift)) ?>;
    PHP_PARAMS.default_index_view.send_gift_values = <?php echo json_encode(array_values($send_gift)) ?>;
    
    PHP_PARAMS.default_index_view.chat_categories = <?php echo json_encode(array_keys($chat)) ?>;
    PHP_PARAMS.default_index_view.chat_values = <?php echo json_encode(array_values($chat)) ?>;
    
    PHP_PARAMS.default_index_view.invite_categories = <?php echo json_encode(array_keys($invite)) ?>;
    PHP_PARAMS.default_index_view.invite_values = <?php echo json_encode(array_values($invite)) ?>;
    
    PHP_PARAMS.default_index_view.view_profile_categories = <?php echo json_encode(array_keys($view_profile)) ?>;
    PHP_PARAMS.default_index_view.view_profile_values = <?php echo json_encode(array_values($view_profile)) ?>;
</script>